]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
style: Restore password entry width
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 17 Oct 2024 17:34:13 +0000 (19:34 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 17 Oct 2024 17:39:23 +0000 (19:39 +0200)
Commit removed the fixed width that is used by polkit/keyring
prompts, with the result that the entries now start at their
natural size, and grow as text is entered.

Restore the original behavior, but nest the style under
.prompt-dialog-password-layout (polkit/keyring) to better
differentiate it from entries under ..prompt-dialog-password-grid
(mount operations).

Fixes: 8d065b558e ("style: Clean up dialogs stylesheet to fix layout issues")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3511>

data/theme/gnome-shell-sass/widgets/_dialogs.scss

index 4136bfce5cde0847b0105dab82255acd9c7e191b..5b1d1da755e0583f9bd29700826d45b5a6d16a28 100644 (file)
 
   .prompt-dialog-password-layout {
     spacing: $base_margin * 2;
+
+    .prompt-dialog-password-entry {
+      width: 20em;
+    }
   }
 
   .prompt-dialog-error-label,